<?php

namespace plugin\agent\app\api\controller;

use app\common\controller\BaseApiController;
use plugin\agent\app\api\logic\GoodsSearchLogic;

class AgentGoodsController extends BaseApiController
{
    protected function init()
    {
        parent::init();
    }

    public function page()
    {
        $data = (new GoodsSearchLogic())->goodsPage($this->form);
        return $this->success($data);
    }

}
